|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<NotificationLevel>
com.highdeal.notification.NotificationLevel
public enum NotificationLevel
This enumeration lists the severity level of a notification: INFORM, SECURITY, ALERT, FAILURE, FATAL, WARN, QUIET.
Notification,
NotificationDescription| Enum Constant Summary | |
|---|---|
ALERT
Level for alerts |
|
FAILURE
Level for notification informing about a failure that happened in the sending system |
|
FATAL
Level for notification informing about a fatal event that happened in the sending system |
|
INFORM
Level for informing notifications |
|
QUIET
Constant used to configure the sending system so that no notification is generated. |
|
SECURITY
Level for notifications related to security |
|
WARN
Level for warning |
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the code of this notification level. |
static NotificationLevel |
getFromCode(int code,
NotificationLevel defaultValue)
Searches the notification level object from its code. |
java.lang.String |
getName()
Returns the name of this notification level. |
static NotificationLevel |
parse(java.lang.String name,
NotificationLevel defaultValue)
Searches the notification level object from its name. |
static NotificationLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NotificationLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NotificationLevel QUIET
public static final NotificationLevel INFORM
public static final NotificationLevel SECURITY
public static final NotificationLevel ALERT
public static final NotificationLevel WARN
public static final NotificationLevel FAILURE
public static final NotificationLevel FATAL
| Method Detail |
|---|
public static NotificationLevel[] values()
for (NotificationLevel c : NotificationLevel.values()) System.out.println(c);
public static NotificationLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
public static NotificationLevel parse(java.lang.String name,
NotificationLevel defaultValue)
name - The name of the notification level to be returneddefaultValue - The notification level object to be returned
if there is no notification level with the specified name; Is optional and can be null.
public static NotificationLevel getFromCode(int code,
NotificationLevel defaultValue)
code - The code of the notification level object to be returneddefaultValue - The notification level object to be returned
if there is no notification level with the specified name; Is optional and can be null.
public int getCode()
public java.lang.String getName()
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||